package service.impl;

import mapper.App_infoMapper;
import org.springframework.stereotype.Service;
import pojo.App_category;
import pojo.App_info;
import service.App_categoryService;
import service.App_infoService;

import javax.annotation.Resource;
import java.util.List;
@Service("app_infoService")
public class App_infoServiceImpl implements App_infoService {
    @Resource
    private App_infoMapper appInfoMapper;
    @Override
    public App_info getListById(Integer id) {
        return appInfoMapper.getListById(id);
    }

    @Override
    public Integer getApk(String aPKName) {
        return appInfoMapper.getApk(aPKName);
    }

    @Override
    public int add(App_info appInfo) {
        return appInfoMapper.add(appInfo);
    }

    @Override
    public int upd(App_info appInfo) {
        return appInfoMapper.upd(appInfo);
    }

    @Override
    public int del(Integer id) {
        return appInfoMapper.del(id);
    }
    @Override
    public App_info selectById(Integer id) {
        return appInfoMapper.selectById(id);
    }

    @Override
    public App_info getID(Integer id) {
        return appInfoMapper.getID(id);
    }

    @Override
    public int updateVersionId(Integer id, Integer versionId) {
        return appInfoMapper.updateVersionId(id,versionId);
    }

    @Override
    public App_info getsjById(Integer id) {
        return appInfoMapper.getsjById(id);
    }

    @Override
    public int UpdateById(Integer id, Integer status) {
        return appInfoMapper.UpdateById(id,status);
    }
}
